package com.biz.primus.ms.depot.dao.po;

import com.biz.primus.ms.base.jpa.po.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * EmployeeChangeLog
 *
 * @author JKLiues
 * @date 2017年11月03日
 */
@Entity
@Getter
@Setter
@Table(name = "tb_emp_change_log",indexes = {@Index(name = "IDX_DPT_EMP_CODE",columnList = "employeeCode")})
public class EmployeeChangeLog extends BaseEntity {
    private static final long serialVersionUID = -4892454996635113748L;

    @Column(length = 20)
    private String employeeCode;

    @Column(columnDefinition = "text")
    private String content;
}